*This is the Stata code for Varian, B. D., 'The ineffective origin of Australian protectionism? Victoria's McCulloch Tariff of 1866', forthcoming in the Economic Record (2025).*

*Please adjust the file pathway as appropriate.*

use Varian_EconomicRecord_2025_StataData.dta

xtset industry_code year

*Table 3*

ppmlhdfe firms post_treated i.industry_code i.year if samplea==1, cluster(industry_code)
ppmlhdfe firms post_treated i.industry_code i.year if sampleb==1, cluster(industry_code)
ppmlhdfe firms post_treated i.industry_code i.year if samplec==1, cluster(industry_code)
ppmlhdfe firms post_treated i.industry_code i.year if sampled==1, cluster(industry_code)
xtreg ihs_firms post_treated i.industry_code i.year if samplea==1, cluster(industry_code)
xtreg ihs_firms post_treated i.industry_code i.year if sampleb==1, cluster(industry_code)
xtreg ihs_firms post_treated i.industry_code i.year if samplec==1, cluster(industry_code)
xtreg ihs_firms post_treated i.industry_code i.year if sampled==1, cluster(industry_code)

*Table 4*

ppmlhdfe firms post_treated i.industry_code i.year if samplea==1 & pre1865_industry==1, cluster(industry_code)
ppmlhdfe firms post_treated i.industry_code i.year if sampleb==1 & pre1865_industry==1, cluster(industry_code)
ppmlhdfe firms post_treated i.industry_code i.year if samplec==1 & pre1865_industry==1, cluster(industry_code)
ppmlhdfe firms post_treated i.industry_code i.year if sampled==1 & pre1865_industry==1, cluster(industry_code)
xtreg ihs_firms post_treated i.industry_code i.year if samplea==1 & pre1865_industry==1, cluster(industry_code)
xtreg ihs_firms post_treated i.industry_code i.year if sampleb==1 & pre1865_industry==1, cluster(industry_code)
xtreg ihs_firms post_treated i.industry_code i.year if samplec==1 & pre1865_industry==1, cluster(industry_code)
xtreg ihs_firms post_treated i.industry_code i.year if sampled==1 & pre1865_industry==1, cluster(industry_code)

*Table 5*

xtreg ln_employment ln_firms i.industry_code i.year if employment_sample==1, cluster(industry_code)

*END*



